package com.it00zyq.common.utils;

import java.util.Random;

/**
 * @Author zyq
 * @Date 2022/4/14 19:13
 * @Description TODO
 * @Version 1.0
 **/
public class KeyUtil {

    /*唯一键,当前毫秒数+三位随机数*/
    public static String uniqueKey() {
        Random random = new Random();
        Integer number = random.nextInt(900)+100;
        return System.currentTimeMillis()+String.valueOf(number);
    }


}
